home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
comms
/
other
/
dlg_1_27
/
dlgconfig
/
rexx
/
ftpmail.doc
< prev
Wrap
Text File
|
1999-04-19
|
3KB
|
98 lines
FTPMail.DLX -- Arexx Script for FTPMail delivery
================================================
1. What is FTPMail?
2. How it works.
3. What this script does
3. What you need
4. How to use this script
1. What is FTPMail?
If you're on FidoNet, you may or may not be aware that our hubs (the
Southern Star, etc) now use FTPMail to move mail around, thus saving on
long distance dialing charges by moving the mail over FTP.
In and of itself, this is a simple matter: call up a site, log in, use
your FTP program to send and receive packets.
Any hub that offers FTPMail to thier downlinks may also offer it to end
nodes such as yourself. This allows you to call your hub using a local
access number without the fear of racking up LD charges. For BBSs in
remote locations, this is a great boon.
2. How it Works
The standard setup is this: you have mail in your OUTBOUND: directory,
in the form of a 4D bundle and a FLO file indicating what needs to be
send to your hub.
Your hub sets you up with a login ID to use with FTP, and in that login's
home directory you will find at least two directories -- /in and /out.
/in is where you drop your mail off, /out is where your mail waits for
you.
When you log in to an FTPMail site, the first thing you do is send a
semaphore flag to indicate that you're moving mail. While this file is
present, your hub won't process mail into or out of your directories.
The standard filename is *.BSY, where the * usually conforms to your
net and node number. Mine is 202-720.BSY, for example. Once you pick
up your mail and drop off your outgoing mail, you delete the BSY file
and log out.
3. What this script does
This script is a program that
o Calls up Miami
o Dials up your ISP
o Logs you in
o Connects you to your hub's FTP site
o Sends the semaphore file
o Gets your incoming mail and deposits it in INBOUND:
o Parses the FLO file for your hub, and:
-> Sends any non-mail file directly
-> Renames 4D mail bundles to 2D names, then sends them
-> Truncates 4D mail bundles to 0 bytes,
-> Delete the FLO file
o Deletes the .BSY file
o Logs you off
o Shuts down Miami
4. What you need
This program is heavily dependent on a specific setup. If you use a
different setup, you will have to change the program to fit your
setup. The particular requirements are:
o Outbound mail in OUTBOUND: in 4D file name format
o Inbound directory with INBOUND: assigned to it.
o DLGRexx.library
o FTPMount 1.2 (available on AmiNet)
o Miami 3.0 or later (available on AmiNet)
o An ISP connection
o An FTPMail site that operates as described above.